<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>内边距</title>
	<style>
		/* 行元素 */
		img{
			border:1px solid red;
	        padding:10px;
	padding: 10px 20px;
	padding: 10px 20px 30px;
	padding: 10px 20px 30px 40px  ;
	
		}

	</style>
	
	</head>
	
	<body>
		<img src="img/圣诞.png" width="300px"  height="300px"     alt="雪人" />
	</body>
</html>